import request from '@/utils/request'

// 查询大疆飞机飞行轨迹列表
export function listDjPath(query) {
  return request({
    url: '/wrj/djPath/list',
    method: 'get',
    params: query
  })
}

// 查询大疆飞机飞行轨迹详细
export function getDjPath(id) {
  return request({
    url: '/wrj/djPath/' + id,
    method: 'get'
  })
}

// 新增大疆飞机飞行轨迹
export function addDjPath(data) {
  return request({
    url: '/wrj/djPath',
    method: 'post',
    data: data
  })
}

// 修改大疆飞机飞行轨迹
export function updateDjPath(data) {
  return request({
    url: '/wrj/djPath',
    method: 'put',
    data: data
  })
}

// 删除大疆飞机飞行轨迹
export function delDjPath(id) {
  return request({
    url: '/wrj/djPath/' + id,
    method: 'delete'
  })
}

// 大屏热力图展示
export function multipleTaskForHotmap(query) {
  return request({ 
    url: '/wrj/djPath/multipleTaskForHotmap',
    method: 'get',
    params: query
  })
}